<template>
  <div class="item-base-header">
    <span class="miva-btn" @click="$router.back()">
      <!-- <img src="@/assets/返回.png"> -->
    </span>
    <span>{{ title }}</span>
  </div>
</template>

<script>
export default {
    props: {
        mivaShow: {
            type: Boolean,
            default: false
        },
        title: {
            type: String,
            default: '商户合作'
        }
    }
}
</script>

<style lang="less">
body {
  padding-top: 55px !important;
}
.item-base-header {
  width: 100vw;
  height: 40px;
  padding: 0 15px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-color: #f8f8f8;
  .miva-btn {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
    img {
      width: 100%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}
</style>
